.article {
	// margin: block-margin 0;
	margin-bottom: 50px;
	border-radius: 5px;
}

.article-inner {
	@extend $block;
	overflow: hidden;
	background-color: white;
	box-shadow: 0px 0px 6px #ccc;

	&:hover {
		box-shadow: 0px 0px 10px #aaa;
	}
}

.article-meta {
	clearfix();
}

.article-date {
	@extend $block-caption;
	float: left;
}

.article-category {
	float: left;
	line-height: 1em;
	color: #ccc;
	text-shadow: 0 1px #fff;
	margin-left: 8px;

	&:before {
		content: '\2022';
	}
}

.article-category-link {
	@extend $block-caption;
	margin: 0 12px 16px;
}

.article-header {
	display: flex;
	position: relative;
	justify-content: center;
	padding: article-padding article-padding 0;
	height: 45px;
}

.article-title {
	font-size: 24px;
	height: 32px;
	color: black;
	transition: all 0.4s ease;
	text-align: center;

	@media mq-mobile {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 300px;
	}
}

.article-top {
	position: absolute;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	left: -30px;
	top: -30px;
	height: 60px;
	width: 60px;
	border-radius: 50%;
	background: btn-color;
}

// .article-title {
// text-decoration: none;
// font-size: 2em;
// font-weight: bold;
// color: color-default;
// line-height: line-height-title;
// transition: color 0.2s;

// a&:hover {
// color: color-link;
// }
// }
.article-info {
	display: flex;
	justify-content: center;
	min-height: 24px;
	flex-wrap: wrap;

	.info-items {
		display: flex;
		align-items: center;

		a {
			margin: 0;
			font-weight: normal;
			color: black;
			font-size: 14px;
			line-height: 14px;
		}

		span {
			height: 14px;
			line-height: 14px;
			vertical-align: middle;
			font-size: 14px;
		}
	}
}

.article-entry {
	@extend $base-style;
	clearfix();
	color: color-default;
	padding: 0 article-padding;

	p, table {
		line-height: line-height;
		margin: line-height 0;
	}

	h1, h2, h3, h4, h5, h6 {
		font-weight: bold;
		color: black;
	}

	h1, h2, h3, h4, h5, h6 {
		line-height: line-height-title;
		margin: line-height-title 0;
	}

	a {
		color: color-link;
		text-decoration: none;

		&:hover {
			text-decoration: underline;
		}
	}

	ul, ol, dl {
		margin-top: line-height;
		margin-bottom: line-height;
	}

	img, video {
		max-width: 100%;
		height: auto;
		display: block;
		margin: auto;
	}

	iframe {
		border: none;
	}

	table {
		width: 100%;
		border-collapse: collapse;
		border-spacing: 0;
	}

	th {
		font-weight: bold;
		border-bottom: 3px solid color-border;
		padding-bottom: 8px;
	}

	td {
		border-bottom: 1px solid color-border;
		padding: 10px 0;
	}

	blockquote {
		font-family: font-serif;
		font-size: 22px;
		margin: line-height 20px;
		text-align: center;

		footer {
			font-size: font-size;
			margin: line-height 0;
			font-family: font-sans;

			cite {
				&:before {
					content: '—';
					padding: 0 8px;
				}
			}
		}
	}

	.pullquote {
		text-align: left;
		width: 45%;
		margin: 0;

		&.left {
			margin-left: 8px;
			margin-right: 16px;
		}

		&.right {
			margin-right: 8px;
			margin-left: 16px;
		}
	}

	.caption {
		color: color-grey;
		display: block;
		font-size: 0.9em;
		margin-top: 0.5em;
		position: relative;
		text-align: center;
	}

	// http://webdesignerwall.com/tutorials/css-elastic-videos
	.video-container {
		position: relative;
		padding-top: (9 / 16 * 100)%; // 16:9 ratio
		height: 0;
		overflow: hidden;

		iframe, object, embed {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			margin-top: 0;
		}
	}
}

.article-more-link {
	display: flex;
	justify-content: center;
}

.article-more-link a {
	display: flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 4px;
	background: #FFCCCC;
	color: white;
	text-decoration: none;
	transition: all 0.4s ease;
	font-size: 14px;

	&:hover {
		transform: scale(1.05);
		text-decoration: none;
		box-shadow: 2px 2px 4px #eeeeee;
	}
}

.article-footer {
	clearfix();
	font-size: 0.85em;
	line-height: line-height;
	border-top: 1px solid color-border;
	padding-top: line-height;
	margin: 0 article-padding article-padding;

	a {
		color: color-grey;
		text-decoration: none;

		&:hover {
			color: color-default;
		}
	}
}

.article-tag-list {
	display: flex;
	align-items: center;

	@media mq-mobile {
		margin-top: 10px;
	}
}

.article-tag-list-item {
	float: left;
	margin-right: 5px;
	background-color: #3399FF;
	padding-left: 4px;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-right: 4px;
	border-radius: 4px;
	font-size: 12px;
	margin-left: 5px;
	color: white;
	height: 16px;
}

.article-tag-list-link {
	color: white;
}

.article-comment-link {
	float: right;

	&:before {
		content: '\f075';
		font-family: font-icon;
		padding-right: 8px;
	}
}

.article-share-link {
	cursor: pointer;
	float: right;
	margin-left: 20px;

	&:before {
		content: '\f064';
		font-family: font-icon;
		padding-right: 6px;
	}
}

#article-nav {
	clearfix();
	position: relative;
	background-color: white;
	@extend $block;

	@media mq-normal {
		margin: block-margin 0;
	}
}

.article-nav-link-wrap {
	text-decoration: none;
	text-shadow: 0 1px #fff;
	// color: color-grey;
	color: black;
	box-sizing: border-box;
	margin-top: block-margin;
	text-align: center;
	display: block;

	@media mq-normal {
		width: 50%;
		margin-top: 0;
	}
}

#article-nav-newer {
	@media mq-normal {
		float: left;
		text-align: right;
		padding-right: 20px;
	}
}

#article-nav-older {
	@media mq-normal {
		float: right;
		text-align: left;
		padding-left: 20px;
	}
}

.article-nav-caption {
	text-transform: uppercase;
	letter-spacing: 2px;
	color: color-border;
	line-height: 1em;
	font-weight: bold;

	#article-nav-newer & {
		margin-right: -2px;
	}
}

.article-nav-title {
	display: flex;
	font-size: 14px;
	line-height: line-height;
	align-items: center;
	// padding: 5px 10px;
}

.article-nav-title-bg {
	padding: 2px 10px;
	background-color: white;
	letter-spacing: 2px;
}

.article-share-box {
	position: absolute;
	display: none;
	background: #fff;
	box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	margin-left: -145px;
	overflow: hidden;
	z-index: 1;

	&.on {
		display: block;
	}
}

.article-share-input {
	width: 100%;
	background: none;
	box-sizing: border-box;
	font: 14px font-sans;
	padding: 0 15px;
	color: color-default;
	outline: none;
	border: 1px solid color-border;
	border-radius: 3px 3px 0 0;
	height: 36px;
	line-height: 36px;
}

.article-share-links {
	clearfix();
	background: color-background;
}

$article-share-link {
	width: 50px;
	height: 36px;
	display: block;
	float: left;
	position: relative;
	color: #999;
	text-shadow: 0 1px #fff;

	&:before {
		font-size: 20px;
		font-family: font-icon;
		absolute-center(@font-size);
		text-align: center;
	}

	&:hover {
		color: #fff;
	}
}

.article-share-twitter {
	@extend $article-share-link;

	&:before {
		content: '\f099';
	}

	&:hover {
		background: color-twitter;
		text-shadow: 0 1px darken(color-twitter, 20%);
	}
}

.article-share-facebook {
	@extend $article-share-link;

	&:before {
		content: '\f09a';
	}

	&:hover {
		background: color-facebook;
		text-shadow: 0 1px darken(color-facebook, 20%);
	}
}

.article-share-pinterest {
	@extend $article-share-link;

	&:before {
		content: '\f0d2';
	}

	&:hover {
		background: color-pinterest;
		text-shadow: 0 1px darken(color-pinterest, 20%);
	}
}

.article-share-google {
	@extend $article-share-link;

	&:before {
		content: '\f0d5';
	}

	&:hover {
		background: color-google;
		text-shadow: 0 1px darken(color-google, 20%);
	}
}

.article-gallery {
	background: #000;
	position: relative;
}

.article-gallery-photos {
	position: relative;
	overflow: hidden;
}

.article-gallery-img {
	display: none;
	max-width: 100%;

	&:first-child {
		display: block;
	}

	&.loaded {
		position: absolute;
		display: block;
	}

	img {
		display: block;
		max-width: 100%;
		margin: 0 auto;
	}
}

/*
$article-gallery-ctrl
  position: absolute
  top: 0
  height: 100%
  width: 60px
  color: #fff
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.3)
  opacity: 0.3
  transition: opacity 0.2s
  cursor: pointer
  &:hover
    opacity: 0.8
  &:before
    font-size: 30px
    font-family: font-icon
    position: absolute
    top: 50%
    margin-top: @font-size * -0.5

.article-gallery-prev
  @extend $article-gallery-ctrl
  left: 0
  &:before
    content: "\f053"
    left: 15px

.article-gallery-next
  @extend $article-gallery-ctrl
  right: 0
  &:before
    content: "\f054"
    right: 15px */
.container-fluid {
	padding: 20px;

	.box {
		margin-bottom: 20px;
		float: left;
		width: 200px;
	}

	.box img {
		max-width: 100%;
	}
}

.contributions-title, .films-title {
	font-size: 22px;
	text-align: center;
	padding-top: 10px;
}

#contributions-box {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	margin-top: 20px;
	margin-bottom: 20px;

	.box-item {
		display: flex;
		align-items: center;
		width: 50%;
		// padding: 5px 20px;
		cursor: pointer;
		// transition: all .2s ease;
		letter-spacing: 1px;
		height: 70px;

		&:hover {
			background-color: #eee;
		}

		img {
			width: 50px;
			height: 50px;
			margin-right: 10px;
			border-radius: 50%;
			margin-left: 10px;
		}

		.item-txt {
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			height: 46px;
		}

		p {
			&:first-child {
				font-size: 16px;
				font-weight: bold;
			}

			&:last-child {
				color: #4B4B4B;
			}
		}
	}
}

.films-box {
	width: 100%;
	padding-bottom: 10px;

	h3 {
		position: relative;
		margin-top: 10px;
		text-align: center;
		margin-bottom: 10px;
	}

	.films-box-item {
		// display: flex;
		// justify-content: center;
		// align-items: center;
		width: 450px;
		margin: 0 auto;
		margin-bottom: 20px;

		@media mq-mobile {
			width: 100%;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			width: 300px;
		}

		label {
			padding: 1px 3px;
			background-color: #fcc;
			border-radius: 2px;
			color: white;
			margin-right: 5px;
		}

		span {
			color: red;
			font-style: italic;
			margin-right: 5px;
		}

		a {
			margin-left: 5px;
			color: black;
		}
	}
}
